home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem !--------------------------------------------------------------------------
- rem !
- rem ! NSSDC/CDF Directory listing (dir) of CDF files, MS-DOS systems.
- rem !
- rem ! Version 1.1, 10-Feb-92, ST Systems (STX)
- rem !
- rem ! Modification History:
- rem !
- rem ! V1.1 10-Feb-92, J Love Original version.
- rem !
- rem !--------------------------------------------------------------------------
-
- if %1 == help! goto :help
- if not exist %1.cdf goto :noexist
-
- dir %1.cdf
- if exist %1.v0 dir %1.v*
- goto :exit
-
- :help
- echo Usage..........> cdfdir "cdf-path"
- echo .
- echo Parameter(s)...cdf-path
- echo . The pathname of the CDF to for which to display a
- echo . directory listing (do not specify an extension).
- echo .
- echo Example(s).... > cdfdir ..\cac_sst
- echo . > cdfdir c:\cdfs\gisswetl
- goto :exit
-
- :noexist
- echo No such file.
- goto :exit
-
- :exit
-